import Vue from "vue";
import Router from "vue-router";

import Authentication from "@/components/Authentication"; // 门票列表
import Details from "@/components/Details"; // 门票详情

Vue.use(Router);

export default new Router({
  routes: [{
      path: "/",
      redirect: "/Authentication"
    },
    {
      path: "/Authentication",
      name: "Authentication",
      component: Authentication
    },
    {
      path: "/Details",
      name: "Details",
      component: Details
    }
  ]
});
